/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

/**
 *
 * @author Student
 */
public class Transaction {

    private int tranId;
    private int userId;
    private int tranTypeId;
    private int albumId;
    private int songId;

    public Transaction(int tranId, int userId, int tranTypeId, int albumId, int songId) {
        this.tranId = tranId;
        this.userId = userId;
        this.tranTypeId = tranTypeId;
        this.albumId = albumId;
        this.songId = songId;
    }

    public int getAlbumId() {
        return albumId;
    }

    public void setAlbumId(int albumId) {
        this.albumId = albumId;
    }

    public int getSongId() {
        return songId;
    }

    public void setSongId(int songId) {
        this.songId = songId;
    }

    public int getTranId() {
        return tranId;
    }

    public void setTranId(int tranId) {
        this.tranId = tranId;
    }

    public int getTranTypeId() {
        return tranTypeId;
    }

    public void setTranTypeId(int tranTypeId) {
        this.tranTypeId = tranTypeId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "Transaction{" + "tranId=" + tranId + ", userId=" + userId + ", tranTypeId=" + tranTypeId + ", albumId=" + albumId + ", songId=" + songId + '}';
    }
}
